
/**
 * This file is part of Nokia OMAF implementation
 *
 * Copyright (c) 2018-2019 Nokia Corporation and/or its subsidiary(-ies). All rights reserved.
 *
 * Contact: omaf@nokia.com
 *
 * This software, including documentation, is protected by copyright controlled by Nokia Corporation and/ or its
 * subsidiaries. All rights are reserved.
 *
 * Copying, including reproducing, storing, adapting or translating, any or all of this material requires the prior
 * written consent of Nokia.
 */
#pragma once

namespace OMAF
{
    #define OMAF_E 2.718281828f // e

    #define OMAF_PI  3.141592654f // π
    #define OMAF_2PI 6.283185307f // 2 * π

    #define OMAF_PI_DIV_2 1.570796327f // π / 2
    #define OMAF_PI_DIV_4 0.785398163f // π / 4

    #define OMAF_1_DIV_PI 0.318309886f // 1 / π
    #define OMAF_1_DIV_2PI 0.159154943f // 2 / π

    #define OMAF_SINGULARITY_RADIUS 0.000000000001f

    #define OMAF_FLOAT32_EPSILON (1.0e-5f)
}
